package com.dk.post.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 点赞表
 *
 * @author toString toString@qq.com
 * @since 1.0.0 2023-12-06
 */
@Data
@TableName("dk_upvote")
public class UpvoteEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
	private Integer id;
    /**
     * 1：帖子，2：评论
     */
	private Integer type;
    /**
     * 作者ID
     */
	private Integer aid;
    /**
     * 点赞人ID
     */
	private Integer uid;
}